# 8.7
def make_album(singer,album):
    album_dict = {
        'singer':singer.title(),
        'album':album.title(),
    }
    return album_dict

album = make_album('cream','4:55')
print(album)

album = make_album('intersection','falling')
print(album)

album = make_album('zhou jielun','反方向的钟')
print(album)

    # 包含歌曲数
def make_album(singer,album,num_songs = None):
    album_dict = {
        'singer':singer.title(),
        'album':album.title(),
    }
    if num_songs:
        album_dict['num_songs'] = num_songs
    return album_dict

album = make_album('cream','4:55')
print(album)

album = make_album('intersection','falling')
print(album)

album = make_album('周杰伦','反方向的钟',25)
print(album)